package src.com.doit.Demo02;

public class Person {
//    //直接赋值
//    final int age= 1;
    int age;
    //在每个构造方法中为其赋值
//    String name;
    final String name;
    public Person()
    {
        name = "柳岩";
    }
    public Person(int age)
    {
        name = "刘晓燕";
    }

}
